package com.baosight.xCyber.dao;

import com.baosight.xCyber.model.TagNode;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface ITreeNodeMapper {

    List<Map<String,Object>> selectAll(@Param("treeName") String treeName);

    int addNode(TagNode tagNode);

    int updateNode(TagNode tagNode);

    int deleteTree(String treeName);

    int deleteNode(String tagName,String treeName);
}
